package com.registration.service;

import com.registration.bean.RoleMenuBean;
import com.registration.mapper.RoleMenuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class RoleMenuServiceImpl implements RoleMenuService{
@Autowired
    RoleMenuMapper roleMenuMapper;

    @Override
    public List<Integer> getRoleMenuList(Integer role_id) {
        return roleMenuMapper.getMenuIdListByRoleId(role_id);
    }
}
